package com.yoyosys.service.impl;

import javax.servlet.http.HttpServletRequest;

import org.springframework.security.core.Authentication;
import org.springframework.stereotype.Service;

import com.yoyosys.service.PermissionService;

/** 
 * @Description: TODO
 * @ClassName: PermissionServiceImpl 
 * @author: knight
 * @date: 2018年3月8日 下午9:43:25  
 */
@Service("permissionService")
public class PermissionServiceImpl implements PermissionService{

	/* (non Javadoc) 
	 * @param request
	 * @param authentication
	 * @return
	 * @Title: hasPermission 
	 * @see com.yoyosys.service.PermissionService#hasPermission(com.yoyosys.service.HttpServletRequest, com.yoyosys.service.Authentication) 
	 */
	@Override
	public boolean hasPermission(HttpServletRequest request, Authentication authentication) {
		System.out.println("----------hasPermission method--------");
		return true;
	}


}
